package com.jindun.paper.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jindun.paper.model.Setting;

public interface SettingRepository extends JpaRepository<Setting, Integer> {
	List<Setting> findByCatalogAndStatusOrderByValue (String catalog, String status);
	
	List<Setting> findByCatalogAndValue (String catalog, String value);
}
